<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="laundryPayment.title"/></title>
    <meta name="heading" content="<fmt:message key='laundryPaymentList.heading'/>"/>
    <meta name="menu" content="RoleAdminLaundry"/>
</head>

<c:set var="buttons">
    <input type="button" style="margin-right: 5px"
           onclick="location.href='<c:url value="/editLaundry.html"/>'"
           value="<fmt:message key="button.add"/>"/>
    <input type="button" onclick="location.href='<c:url value="/mainMenu.html"/>'"
           value="<fmt:message key="button.done"/>"/>
</c:set>

<c:out value="${buttons}" escapeXml="false" />

<display:table name="laundryList"  class="table" id="laundryList" export="true" requestURI="" pagesize="25">
     <display:column property="id" sortable="true" href="editLaundry.html"
        paramId="id" paramProperty="id" titleKey="laundry.id"/>
    <display:column property="name" sortable="true" titleKey="laundry.name"/>
    <display:column property="address" sortable="true" titleKey="laundry.address"/>
</display:table>

<c:out value="${buttons}" escapeXml="false" />
<script type="text/javascript">
    highlightTableRows("laundryPaymentsForm");
</script>